]> dgit.raspbian.org Git - gnome-shell.git/commit
PopupMenu: add horizontal sliders
authorGiovanni Campagna <scampa.giovanni@gmail.com>
Thu, 22 Jul 2010 12:34:02 +0000 (14:34 +0200)
committerDan Winship <danw@gnome.org>
Fri, 1 Oct 2010 19:18:36 +0000 (15:18 -0400)
commitf336564e19dbd28ec382f804eeed25e7ad22305e
treeb90a9c15dc91c1af6311b5a8cbafeb8f1146e2de
parentaebdf79430bf8281263ba98627ff0e0e72ddb708
PopupMenu: add horizontal sliders

Introduce Cairo-drawn sliders to be used in PopupMenus (for example for
volume). They are stylable to some extent (colors, border width, slider
height) and have the standard behaviour of a slider, except they are
completely modal (once you start dragging, all events are intercepted by
the slider, which thus is kept active and highlighted at all times).
They show numeric values between 0 and 1 (scaling must be performed outside)
and emit value-changed on button release, but no activate, keeping the
menu open.

https://bugzilla.gnome.org/show_bug.cgi?id=625029
data/theme/gnome-shell.css
js/ui/popupMenu.js